POV-Ray : Newsgroups : povray.binaries.images : POV'ed POV-Ray logo (~40kbu) : POV'ed POV-Ray logo (~40kbu) Server Time
19 Nov 2024 20:23:54 EST (-0500)
  POV'ed POV-Ray logo (~40kbu)  
From: Redbeard
Date: 13 Nov 2001 23:43:32
Message: <3bf1f674@news.povray.org>
Just playing with a macro to fill an object with objects.  Works good as a
background :-)

It uses *very* primitive collision detection.  Just checks to see of any of the
8 corners of the bounding box of a new object or it's center is inside() a union
of all previous objects.  So there is probably some overlap.

Now, if only I could get my Intersect(A,B) macro to work...

Questions?  Comments?

Michael
--
#macro M(D,J)text{ttf"cyrvetic.ttf"D 1,0translate-J}#end#macro N(E,K)#local A=
M(E,K)light_source{-z*30rgb 1projected_through{A}}#end N("Michael"<1.6,-.2,5>)
N("Johnson"<1.9.8,5>)sphere{z*9,4pigment{gradient x+y scale 10color_map{[0 rgb
x][1rgb x+y]}sine_wave}} // (c)2001 Michael D Johnson red### [at] wvadelphianet


Post a reply to this message


Attachments:
Download 'PovedPov.jpg' (41 KB)

Preview of image 'PovedPov.jpg'
PovedPov.jpg


 

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.